configure: use CFLAGS, etc. _FOR_BUILD as well
authorRyan Lortie <desrt@desrt.ca>
Thu, 2 Jan 2014 17:00:10 +0000 (12:00 -0500)
committerRyan Lortie <desrt@desrt.ca>
Fri, 3 Jan 2014 01:31:58 +0000 (20:31 -0500)
commit14c7b268649ce0c643fcd3009fc81b888ad65b4a
treee30041e3ba52e9e5bb9211edb9af184e30fd5d4f
parent93bcca7f023d2767f589e0641fc1923ce880c3d5
configure: use CFLAGS, etc. _FOR_BUILD as well

When not doing cross-builds, use the values of CFLAGS, CPPFLAGS and
LDFLAGS as the default value for CFLAGS_FOR_BUILD, CPPFLAGS_FOR_BUILD
and LDFLAGS_FOR_BUILD, respectively.

This avoids having to manually specify these variables in order to get
extract-strings to build properly.

This should really be handled by ax_prog_cc_for_build.m4.  That has been
reported upstream.  This is a workaround for now.

https://bugzilla.gnome.org/show_bug.cgi?id=721346
configure.ac